#!/usr/bin/env python

#打印三角形

def triangle(y):
    for m in range(0, y):
        a = ""
        for n in range(0, m):
            a += " "
        for i in range(0, y-m):
            a += "*"
        print(a)


a = int(input())
triangle(a)


